package com.lsb.fitnessnutrition.action

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.MediaController
import kotlinx.android.synthetic.main.activity_bench_shoulder.*
import org.tensorflow.lite.examples.classification.R

class BenchShoulderActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_bench_shoulder)

        videoView.setVideoPath("android.resource://"+packageName+"/"+R.raw.shoulder)
        val mediaController = MediaController(this)
        mediaController.setAnchorView(videoView)
        videoView.setMediaController(mediaController)
    }
}